home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh
- # demos for ACE/gr
- #
- setenv BCflag ' '
-
- # define the location
- #
- setenv ACEGR ../xmgr
-
- echo $BCflag
-
- # command line parameters
- $ACEGR -usage
- sleep 3
- # XView command line parameters
- $ACEGR -help
- sleep 3
- #
- # explain the row of single character buttons and a few other things
- $ACEGR explain.par $BCflag
- #
- # display the various axes available
- $ACEGR -p axes.par $BCflag
- #
- # display the symbols and line styles
- $ACEGR symslines.dat $BCflag
- #
- # display more symbols
- $ACEGR moresyms.dat $BCflag
- #
- # display various fill styles
- $ACEGR fills.dat $BCflag
- #
- # some graph stuff and ticks
- $ACEGR -p graphs.par $BCflag
- #
- # some graph stuff and ticks
- $ACEGR -p props1.par $BCflag
- #
- # demonstration of many graphs
- $ACEGR -maxgraph 36 manygraphs.d $BCflag
- #
- # some graph stuff and ticks
- $ACEGR brw.dat -p regions.par $BCflag
- #
- # test of a graph inset
- $ACEGR tinset.d $BCflag
- #
- # some time and date formats
- $ACEGR times.dat $BCflag
- #
- # some more tick label formats
- $ACEGR -p tforms.par $BCflag
- #
- # some more tick label formats
- $ACEGR au.d $BCflag
- #
- # display fonts and font mappings
- $ACEGR -p tfonts.par $BCflag
- #
- # example of world stack
- $ACEGR tstack.dat $BCflag
- #
- # a graph with a parameter file
- $ACEGR -p test1.par -a xy test.dat $BCflag
- #
- # a graph with a parameter file in reverse video
- $ACEGR -rvideo -p test1.par -a xy test.dat $BCflag
- #
- $ACEGR test2.d $BCflag
- #
- # multiple graphs with a parameter file
- $ACEGR mlo.dat -graph 1 brw.dat -p co2.par $BCflag
- #
- # multiple graphs created with arrange feature
- # $ACEGR co2.all0.dat -graph 1 1.dat -graph 2 2.dat -graph 3 3.dat -graph 4 4.dat -p co2-3.par $BCflag
- $ACEGR co2.all $BCflag
- #
- # a graph with alternate axes
- $ACEGR -p altaxis.par test.dat -a xy $BCflag
- #
- # a graph with error bars
- $ACEGR terr.d $BCflag
- #
- # another graph with error bars
- $ACEGR terr2.d $BCflag
- #
- # a graph with XY RADIUS format
- $ACEGR txyr.dat $BCflag
- #
- # a graph with hilo data
- $ACEGR hilo.dat $BCflag
- #
- # log plots
- $ACEGR -p logtest.par log.d -graph 1 log.d $BCflag
- #
- # more log plots
- $ACEGR tlog.demo $BCflag
- #
- # non-linear curve fitting
- $ACEGR logistic.d $BCflag
- #
- # bar charts
- #
- # display all types of bar graphs
- $ACEGR bars.d $BCflag
- #
- # a bar graph demonstrating specified ticks and tick labels
- $ACEGR bar.d $BCflag
- #
- # a bar graph demonstrating specified ticks and tick labels
- $ACEGR bar2.d $BCflag
- #
- # a bar graph demonstrating patterns
- $ACEGR tbar3.dat $BCflag
- #
- # a stacked bar graph
- $ACEGR stackedb.d $BCflag
- #
- # a slideshow demo
- $ACEGR -pipe $BCflag < slideshow.d
- #
- # need a program
- # modified from previous versions, a thank you goes to Bruce Barnett
- # this modification allows others without write permission
- # to run the demos.
- #
- echo ""
- if ( ! -f tmc ) then
- echo ""
- echo "Compiling a short program to test the -pipe option"
- echo "Executing 'cc tmc.c -o tmc -lm'"
- cc tmc.c -o tmc -lm
- echo "Done compilation"
- echo ""
- endif
-
- #
- # a graph with the -pipe option
- echo "Testing -pipe option, executing './tmc | $ACEGR -pipe' "
- ./tmc | $ACEGR -pipe $BCflag
-